18. Audio Commands > 18.9 AT^SNFA   Set or query of microphone attenuation

18.9
AT^SNFA   Set or query of microphone attenuation
AT^SNFA specifies the large-scale attenuation on the microphone path of the audio device currently selected with AT^SNFS. The write command is only available in audio modes 2 to 6.
Syntax
Test Command  
Response(s)
^SNFA: (list of supported <atten>s)
Read Command  
Response(s)
Write Command  
Response(s)
Reference(s) 
PIN 
ASC0 
ASC1 
USB 
MUX1 
MUX2 
MUX3 
Charge 
Last 

Parameter Description
 
<atten>(num)(^SNFW)
Multiplication factor for input samples. Parameter <atten> is identical with <inCalibrate> of AT^SNFI.
Formula used to calculate microphone attenuation (negative gain):
Gain in dB = 20 * log(<atten>/32768)
0...32767(P)...65535
 
0
Microphone is muted.
Please note that AT^SNFA cannot be used to mute the microphone. Therefore, any attempt to enter 0 will be rejected with error response. Value 0 is returned only by the read command AT^SNFA? after the microphone was muted with AT^SNFM=0 during an active call.
32767
No attenuation on the microphone path
Values greater than 32767 will be suppressed to 32767.


Notes
•
•

 
Example